package com.yonyougov.devops.cruxcisupport.appenv.dto.port;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

/**
 * 根据环境Id,自动生成部署表中的应用的外部端口
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "根据部署项Id,自动生成部署表中的该部署项的外部端口")
@Data
public class GenerateAppMappingPortRequestDto extends BaseRequestDto {
    @ApiModelProperty(required = true, value = "部署项Id")
    @NotNull
    private BigInteger appEnvId;
}
